package com.zccx.eth.rest;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

@Controller
public class MainController {

    @GetMapping("/")
    public String index() {
        return "login";
    }

    @GetMapping("/admin/index")
    public String jquery() {
        return "index";
    }

    @GetMapping("/admin/login")
    public String login() {
        return "login";
    }

    @GetMapping("/house_list")
    public String house_list() {
        return "house_list";
    }

    @GetMapping("/house_edit")
    public String house_edit() {
        return "house_edit";
    }
    @GetMapping("/home")
    public String home() {
        return "home";
    }
    @GetMapping("/index")
    public String indexNew() {
        return "indexNew";
    }
}
